#!/usr/bin/python
#-*- coding: utf-8 -*-

import os
from core import *
from checkers import *

def initChecker():
    checker = Checker()
    apkinfoChcker = ApkinfoChecker('')
    checker.bindChecker(apkinfoChcker)
    signatureChecker = SignatureChecker('E724050A4ADA375770BB8F957C4B60DC335DD346')
    checker.bindChecker(signatureChecker)
    permissionChecker = PermissionChecker()
    checker.bindChecker(permissionChecker)
    return checker

if __name__ == '__main__':
    fileLoader = FileLoader()

    checker = initChecker()

    reportPrinter = ReportPrinter()
    reportPrinter.setOutputDir('')

    files = fileLoader.load('D:\\Games')
    for _file in files:
        print _file
    #     report = checker.check(_file)
    #     reportPrinter.printReport(report)
    # reportPrinter.printOverview()
